Flutter vs Native - how to make a splash?
If you’re targeting Android 12+
void main() async {
final binding = WidgetsFlutterBinding.ensureInitialized();
binding.deferFirstFrame();
runApp(MyApp());
}
// somewhere after your async initialization
void init(WidgetsFlutterBinding binding) async {
await initializeAsyncDependencies();
binding.allowFirstFrame();
}
There's no articles to list here yet.